PHPR API (3.7.0)

Download OpenAPI specification:

PHPR API USING API-PLATFORM

approvals

Creates a approvals resource.

Creates a approvals resource.

Authorizations:
JWT
path Parameters
id
required
string

approvals identifier

Request Body schema:
required

The new approvals resource

rowId
integer
refTable
string
person
string or null <iri-reference>
signature
string

Checks scans.

approved
boolean
Default: true
timestamp
string <date-time>
description
string or null
notes
string or null
owningCorporation
string <iri-reference>
name
string
deletedAt
string or null <date-time>
slug
required
string

DB Identifier

customProperties
any

Can contain anything (array, objects, nested objects...).

customData
Array of strings or null
createdAt
string <date-time>
updatedAt
string <date-time>
disabledAt
string or null <date-time>
object (Collection.jsonld)
upload_filename
string
upload_subfolder
string
upload_file
string
upload_file_link
string
upload_Subfolder
string
upload_File
string
upload_File_Link
string

Responses

Request samples

Content type
{
  • "rowId": 0,
  • "refTable": "string",
  • "signature": "string",
  • "approved": true,
  • "timestamp": "2019-08-24T14:15:22Z",
  • "description": "string",
  • "notes": "string",
  • "owningCorporation": "https://example.com/",
  • "name": "string",
  • "deletedAt": "2019-08-24T14:15:22Z",
  • "slug": "string",
  • "customProperties": null,
  • "customData": [
    ],
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z",
  • "disabledAt": "2019-08-24T14:15:22Z",
  • "entityFiles": { },
  • "upload_filename": "string",
  • "upload_subfolder": "string",
  • "upload_file": "string",
  • "upload_file_link": "string",
  • "upload_Subfolder": "string",
  • "upload_File": "string",
  • "upload_File_Link": "string"
}

Response samples

Content type
{
  • "@context": "string",
  • "@id": "string",
  • "@type": "string",
  • "rowId": 0,
  • "refTable": "string",
  • "person": {
    },
  • "approved": true,
  • "timestamp": "2019-08-24T14:15:22Z",
  • "notes": "string",
  • "shortcode": "FA",
  • "deletedAt": "2019-08-24T14:15:22Z",
  • "id": 0,
  • "slug": "string",
  • "customData": [
    ],
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z",
  • "disabledAt": "2019-08-24T14:15:22Z",
  • "toString": "string",
  • "virtualRelation": true,
  • "anonymousToken": "string",
  • "uniqueId": "string",
  • "taggingListing": "string",
  • "enabled": true,
  • "disabled": true
}